package com.samuel.learning.design.pattern.builder;

import java.util.Comparator;
import java.util.List;

public class ConcreteGoods2 extends AbstractGoods{

    @Override
    protected void sortGoods(List<Goods> goodsList) {
        goodsList.sort(Comparator.comparing(Goods::getId));
    }

}
